|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectagents.anac.y2010.AgentSmith.IssueModel
public class IssueModel
Model of one issue, takes all values of the opponent on this issue. Then the utility and it's weight can be calculated on this issue. In the OpponentModel this information is used to determine the utility of the other party.
| Constructor Summary | |
|---|---|
IssueModel(Issue lIssue)
Constructor |
|
| Method Summary | |
|---|---|
void |
addValue(Value pValue)
Add a value to the list |
double |
getAverage()
The mean of the values in the values list. |
Value |
getBidValue(Bid pBid)
returns the value of a bid |
static Value |
getBidValueByIssue(Bid pBid,
Issue pIssue)
returns the value of an issue in a bid |
double |
getDeviation()
The standard deviation utility of the issues. |
double |
getDiscreteUtility(Bid pBid)
The utility of if this issue is discrete. |
double |
getDiscreteWeight()
Gets the weight of this value. |
double |
getNumberValue(Value pValue)
The value of an issue in a double type |
double |
getRealUtility(Bid pBid)
The utility of a bid in the real or integer case |
double |
getRealWeight()
returns the real (or integer) weight |
double |
getUtility(Bid pBid)
The utility of a bid, which can be real, integer or discrete |
double |
getWeight()
Get's the importance of this issues utility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IssueModel(Issue lIssue)
lIssue - | Method Detail |
|---|
public double getAverage()
public double getDeviation()
public void addValue(Value pValue)
public double getNumberValue(Value pValue)
public double getUtility(Bid pBid)
public double getDiscreteUtility(Bid pBid)
public double getRealUtility(Bid pBid)
public double getWeight()
public double getDiscreteWeight()
public double getRealWeight()
public Value getBidValue(Bid pBid)
public static Value getBidValueByIssue(Bid pBid,
Issue pIssue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||